#ifndef ANIMATION_H
#define ANIMATION_H

#include <iostream>
#include <string>
#include <SFML/Graphics.hpp>
#include "var_define.h"

using namespace std;
using namespace sf;

class Animation
{
    public:
        Animation();
        Animation(int nb);
        ~Animation();
        void playAnim(Sprite& move);
        void setDirection(int d);


    private:
        int nbSprite;
        bool deplGauche;
        int direction;
};

class BattleAnim : public Animation
{
    public :
        BattleAnim(string c, int nb);
        ~BattleAnim();
        void playAnim(RenderWindow& a, int d);

};

#endif // ANIMATION_H
